package demo5;

import demo5.Clothes;
import org.springframework.stereotype.Component;

@Component
public class Shirt implements Clothes {
    @Override
    public void wear() {

        System.out.println("穿T恤");
    }
}
